import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

//引入vant-ui挂载全局使用
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

//引入reset.css rem.js components/index.js filters
import './assets/css/reset.css'
import './assets/js/rem'
import './components/index'
import './filters/index'

//引入网络请求api层挂载vue原型链
import * as api from './http/api.js'

Vue.prototype.$api =api

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
